package com.fadadianqi.commons;

import com.ibatis.sqlmap.client.SqlMapClient;
import com.yeqiangwei.commons.ibatis.GenericIBatisDAOTemplate;
import com.yeqiangwei.commons.ibatis.PKModel;

import javax.annotation.Resource;
import java.io.Serializable;

public abstract class GenericDAOSuport<PK extends Serializable, T extends PKModel<PK>>
        extends GenericIBatisDAOTemplate<PK, T> {

    @Resource(name = "sqlMapClient")
    public void setSqlMapClientFactory(SqlMapClient sqlMapClient) {
        this.setSqlMapClient(sqlMapClient);
    }
}
